Fixing compilation errors; interfaces don't need to be pointers