Currently we use `Any` for handling `Read`- and `Write`Queries. This is undesirable and a better solution might be possible. It should be figured out if there's a cleaner solution without Runtime Reflection and then that solution should be implemented.