Fixed restriction stuff.