Removed deprecated constructor.