When I have to write awful code for a weird API.