Minor optimizations to Spring expression processing