Add exception translation and annotations in goal package