Added new API to trunk