Added allow_public field