Remove unused permissions and version up.