Added Hashcode and constructor code generation.