Remove old style API

in V0.3, remove the old style API's. Make the codebase more consistent.