Removed extra DATA writeObj in compileDeclaration