Remove print from object type definition in ast