Move each, extend and parseParams into Keen.utils