Style corrections

The style has been checked with rubocop and corrected to comply with
the guidelines.