Adding documentation layouts for functions