Added the verification of minimum requirements and a pair of optional ones.