:memo: Add function snippet with doc bloc