Frame constructor handles params as references.