Enables creating a handler per session instead of having one handler for many sessions, using Multiton pattern.