Add support for Allow directive. Closes #5.