Rename 'var' type to 'object'