Fixed registration problem with ecore model.