Fixed and improved the new BF.remove() function.