Added styles.
Fixed geometry saving.