Reordered provider name and class, fixed `postRequire` method.