Extended pool and added sess class.