Add regex for CSS resize in `DEFAULTS`.
Add helpers. Reorganize code.