Added styleType

Fix #127