Added possibility to read if statements. refs #21.