Fix formatting of object oriented example