Introducing explicit types for Number and Digest components