Fixing error calling.
Moved constants to grovel.