Don't pass state where it isn't used