Adds a case statement.