Added is_rep? method.