Don't use capitalized names on record creation to prevent name clashes with modules (fixes #368)