Add getCode() to ResponseInterface. Closes #25