Add some missing functions that were not tested