It looks like this block of methods is used in generating mock data. I would consider moving them inside a mock class. I'm not sure about other providers, but this is consistent with the AWS implementation.