Made setPosition static.