get_pool() method rewritten for correct return type
Added POD for pool() method