remove metaprogramming for threadsafe accessors