Sped up getParameters() in simple situations.