Added limit attribute for directory provider