Refactor style processing