Added base inventory implementation.