Created the decorator API and demo.