Remove overridden deprecated methods and fix deprecation warning format ...

Remove overridden deprecated methods and fix deprecation warning format thrown by them