Add permissions support.