Merge pull request #4 from apache/add-phase5-api

Add phase5 api