Add Release scheme.
Fix crash when object has no relationships.