Eeeep type casting is bad. Forgot about the toString() method! :P