Remove uses that are invalid