Added parsing for if statement.