Fixed issue getting type of param in docstring.