Patch for nil class