Need to replace is_a completely.

fixes #142 (for reals)