[Styler] Refactored for a more consistent API and cleaner methods.