remove function we can't use from the JS side