Update documentation and fix RuboCop warnings