Add constructor args type validation