Implement typing.