Fixed resizable inventory API - Added javadocs