adjust some error messages based on new conventions
add custom writers for a bunch of contracts