Added getAllRestrictions method + Formatting