Fixed compilation problems following refactoring for 2.4.0.

Removed deprecated methods that were removed in databind project.