A better RAML factory.