Implement some undefined functions