Fixed using declaration of 'Type'