Split functions into header and implementation files.