Add memory pool helper