assert existence of function for backwards compatibility