Add code generation and offset overriding to Constructor and Method.