Creating a general parameters check.