On maximally supersymmetric Yang-Mills theories