Removed most static references from Codelet, tho not subtypes.