Remove useless reflection into marshaling.