Refactor the language service modifications out into a separate file