Calling links now can take models as arguments.
Added __dir__ to models.