Implemented moving kernel atrribute to new function signature