Code cleanup for Cocotron class.