Bug fix

* Bug fix: classes specified in the class definition are not overwritten anymore by those passed to the
  `build!` method.