Update coding style. Closes #2091.