Added support for a small number of c functions