Improve pools_spec