Fixed a few minor warnings in the ERC.