Yeah, I realized it wasn't good OO design when you pointed it out. Often I
think that if-statements are simply code smells.