Fixed code files.

Linker errors galore.