add some functionality in unit pool for future teleport spell.