Fixes so documentation builds cleanly and translates