refactor DocFaker.module.php