Add basic is_a support.

Doesn't do anything more fancy than check with is_a?. Proper type
constraints to come later.