Gave the functions to the new classes.