Removes getRestriction and getFirstRestriction methods from Restrictions