Fixed scope calling static methods, disabling ternary test