Added debugging statements, regenerated docs