Markup extensions the right way