Only check prototype for helper function once