Added an non-generic overload of BeOfType(). Closed #37