Some observations on the mean-field theory of spin glasses