Resolved most linker errors.