Made ObjectCache template class to avoid using void*