Add some missing functions.