pothos: implement hooks for tags