Fixed Medium1 and Medium2 redeclaration to predefined Medium in partial