Removed parameter String ref from constructor