Added a base with oop functions.