Fix most signature mismatches
Merge pull request #28 from ekr/partial_compile_fix

Fix most signature mismatches