Implemented more code generation.