Ascribing a type to fix an error.