Failed to add member_function