Add define-getter snippet