Specification factory