Implement arguments check.