Made base class constructor virtual