Removing legacy functions.