Cleanup for role creation.
Merge branch 'master' into 1.0