Compiler warnings
Remove reflection hack