Switching Tags to prototypical inheritance