Revert "Fixes after rubocop"

This reverts commit 3743ece718fc291279e1ce7be1522040611b92e3.