Add defs to sprites