Add policy decision interface and api interface.