In order to ensure arguments are passed correctly, the page building functionality needs to user call_user_func_array, not call_user_func.