Make MockSerializable public scope. #329