OK. I see. But for Java 8 it still doesn't work. Should be like this: `session instanceof CachingSessionFactory<?>.CachedSession`
Will be fixed during merge