Updated AppKernel to work with attributes