Simplified tags processing. Now, tags are recursively searched, instead of cached in initialization