Adding in class functions.