somehow this attribute got deleted prior to my first commit - restore it
tests for Cast and OfType