Removing deprecated class functions for 2.0.
Updating to 2.0.0, removing deprecated methods and moving from 1.2.x to 2.0.0.