Set the minimum requirement for a factory to be valid and call
attributes when needed in spec.