Fixed function declaration to be compatible with parent