Change visibility of allow() to be public