Added support for guard.