Refactoring styles and adding stroke model.