Inherited properties are removed; formatting is fixed