Added ServiceProviders and created PhpDoc comments.