Fixed elvis operator
Fixed inspect code warnings
Doc comment update