Added namespace to serialize code