Eliminated warning about missing callback when adding trashcan