use single declarations for string and table methods