Move assignTo and pollute out of the exported api methods