Extract configure() method to base class