doc of handler factory/class