Add an option for rounded corners

* Fix accessor methods
* Remove warnings