Migrate to the CoreBundle