Maybe ``new Contract($type)`` to save one line ?