Removed ref as a type