Phase out PermissionsHandler.

Finally, remove PermissionsHandler from here.