Added comparing interfaces for better documentation and rigidness.