Add support for extracting doc from comment