This is very restrictive behaviour and we'll probably need to think of something a bit more powerful in the future. But it's a good stopgap.