Changed from class methods to instance methods for new migrations.