Added class doc.
Refactored ActiveDataProvider.