Updating method names. Fix for travis build.