Updated interface for var conversion