Support KNF properties. Change size to depth. Add check parameter