Updating define method to use updated FactoryGirl syntax.