Restricting device types