Encapsulate type conversions