Added header file and proper declarations.