Fixed lookup of generic function documentation.