def METHOD_NAME(reldef):
    if not hasattr(reldef, 'column') or reldef.relatedModelName not in classes:
        return
    remote_class = classes[ reldef.relatedModelName ]
    column = getattr(table.c, reldef.column)
    relationship_args = {'foreign_keys': column}
    if hasattr(reldef, 'otherSideName'):
        backref_args = {'uselist': reldef.type != 'one-to-one'}
        if remote_class is cls:
            backref_args['remote_side'] = table.c[ tabledef.idColumn ]
        relationship_args['backref'] = orm.backref(reldef.otherSideName, **backref_args)
    return reldef.name, orm.relationship(remote_class, **relationship_args)