Removes deprecated helper methods.

These methods has been deprecated in earlier versions, so they can be safely removed now.