Added necessary function declaration to module file