maintaining the type wrapper classes