Clean up coin constants and make more use of it.