Use API from 2012's style

Old API(2012) support, but only program, menu and sponser.