Rewrote Onliner object as literal (singleton).