def remove_reference(type_):
nake_type = remove_alias(type_)<EOL>if not is_reference(nake_type):<EOL><INDENT>return type_<EOL><DEDENT>return nake_type.base<EOL>
removes reference from the type definition

    If type is not reference type, it will be returned as is.