Added isConsistentWith
Added parse example
Optimizations