Removed setDx() and setDy()