Changed docs method as part of #186.