Only setting restrictions that are actuall set on the type.