Remove unused method and update API doc