Potential use of `AnyVal` here as well?