Add the missing functions