Fixed interfaces variable casting type