Removed deprecated method.

Change-Id: I5e255acf125a88766f83e309d6cf3980ad1a9929