removed unnecessary docgen code added earlier