Remove default value in implementation of function