Add API for back compat with old package