adds support for tags on leaves

Signed-off-by: Sam Heuck <sam@samheuck.com>