Remove a bit of unused code