dart backend: fixed simple class.