I think the `getModuleName` method call should move inside the `buildProfile` method as the module name is used internally in the last method.