[ML] Improved docu and error messages within the sources.