I'm not that familiar with InstanceTag or Rails internals, but I do wonder if this could be made more similar to the Rails 4 version?