Added base classes for helping with item api.