Fixed parsing composite objects as part of references.