Rewrite some patterns with Onsen UI.