Added interfaces for guard and authorizer