Added setOrigin.