[Cleanup] Remove redundant code.