Added an initial working implementation of tags.