Finished adding conditions support.