Add check for parameters of methods