make extension tags extensible, fix #348