Added a extended api.