Added two missing functions: