Add Codox support and fix function declarations for documentation