Fix old function declaration