Improve constructor validation