Adding a convenience method for migrations