Make function to call frame decoratable