Remove incorrect refs to 'runtimeType'