Ganked tag library from elliottt/din. To be removed later.