Removed deprecated method
Fixed API doc