Foreign type class instance declarations. For #253 and #218