Docblock and typecheck for auto completion