improved signature generation in autodocs