1. I would need to investigate your first question a little bit more to be sure on my answer.
2. An inbuilt way for identifying the data types that are used in the fiter? I think I am little lost here. Do you just want to be able to call and essentially check the data type with a call?
I will reach out with more information as I find it.