Good idea - created a shared helper that's used by attr, prop and data.