Fix for DocBlock\Tag usage when generating entities