Add support for conditions.