move mediaType into MethodCall