Implement function declarations.