Further simplification of directory provider API implementation example