Allow use of string class path or class in filter