You have added a second copy of the AdaDelta class here somehow.