Remove a bit of redundant code