Changed hardcoded pool name to custom ones
Changed pool name argument order
Model: overspecify some types to evade possible ambiguities in future