A better syntax to use for the removeFunction function