Enforced types to reduce reflection apis