Adds doc block to deprecated main function