Remove comments, correct variable name casing, separate Realm and properties.