Added new inventory implementation.