Added callbacks so code compiles