Setting the base classes