Added many C stubs