LocalDeclaration code generation. Works towards #36.