Added permissions class.