api cleanup in ast
publish in utility