Added calloc, malloc, realloc and free functions.