Get list from class or instance