Compatibility fixes with meteor >0.9.0