Added "version_major". Tried to simplify methods for code climate.