added template for function documentation in packages