Added documentation of the internal workings of a custom tag