Refactor and allow unique style per platform