Patch for missing definitions