Refactor, split ufw part.