Add documentation for analyzer factory implementation