Remove slow version of function