Corrected warnings on Linux
Restored constructor for ReadOnlyAttributeDefinition needed by Persistance