Added initial C support