Remove unnessesary function.