You may be able to do away with this line if you are able to remove the @Type on line 57 below;