Re-adding deprecated permissions and updating to include missing permissions containers.