Fixed defs bug.