I suppose we could change the migrator to pass the container to allow for more flexibility, but that may cause other side effects. Personally I think instantiating a particular class in a migration is fine.