Moved function definitions to C file. Now we won't have linker problems when these...