Using variables belonging to an imported type