Adding MinDepth, Max Depth an activeClass support