remove deprecated and unused apis
prepare for 0.3 release