Adding in type restrictions.
Added some restriction types.