Remove the $ object before reinjecting.