Add OfTypeMatcher for type checking

[#4]