Updated the example to fit new com_library class