Make tags method more felixble.