More cleanup.
Added hash mapping for implemented interfaces on classes.