class local method cache