Removed unused method
Added limit attribute for directory provider