/// <summary>
 /// Stores a parameter at the provided index.
 /// </summary>
 /// <param name="index">The index to store the parameter at.</param>
 /// <param name="val">The value to store.</param>
 public void PutParameter(byte index, object val)
 {
     @params[index] = val;
     serialization.BuildUp(Object, @params);
 }