Put function declarations in header; fix include mistake.