Extracted RecordType binding into modules in order to support the future need to create a schema generator.