XML and styles Refactoring.