Added configure() method.