Update copyright
Change configurable flag of pre-defined engine functions
Fix slot flag regression bug