Query time boost

function.getClass() is always evaluated, isn't it? Might be expensive