Added polymorphic association to Permissions model.