Added hasOne relationship support
Versioning