Added special overload of addCustomData