Fix compile issue of comparable and uncomparable abstract classes

Signed-off-by: Pouyan Heyratpour <P.Heyratpour@Gmail.Com>
Instance of Comparable: Directory
Some Repository Stabs

Signed-off-by: Pouyan Heyratpour <P.Heyratpour@Gmail.Com>