Added inlined functions and indexed allocators