v0.3.1 - remove granted permissions on class leave