Add C to lua class