Improve documentation for BaseOptimizer and BaseCaller