Base class constructor