Use custom status codes. #165 #169