Invalidate cache held by language objects too

Change-Id: Ib9c5a75fd3faf06366e47102b123bc1b9eaa6cc3