Add some missing functions