Remove old api classes and function that have been reimplemented in the new API