update deprecated API to call the new API directly

Still keep :Bundle backwards compatible.