autodoc prototype + mixed issues