Fixed invalid import and accessed inner class explicitly

*Allocator* class is provided in the same directory/package thus can be used without import statement.