     #
     # Registers type reference
     #
-    # @param [Object] type reference of type
+    # @param [Object] property property that has a reference of type
     # @param [Object] ctx referencing context
     #
-    registerTypeReference: (type, ctx) ->
-        @typeRefs.push(type, ctx)
+    registerTypeReference: (property, ctx) ->
+        @typeRefs.push(property: property, ctx: ctx)
 
     #
     # Registers definition reference

        @typeDefs[definition.__path] = definition

    #
    # Processes type references
    #
    # @todo Implement type references processing
    #
    processTypeReferences: () ->

    #
    # Processes property type.

            @processRule property.type, ctx
            property.type = _.pick(property.type, ['type', 'title'])

        #todo Process array properties here

        # Register reference for type
        if property.type? then @registerTypeReference(property, ctx)

        # Return context
        ctx
