i removed all deprecated methods.