Clean up API header files

Closes #53