Added support for cond and begin