We could filter out functions, I'm mostly just looking for a generic way for this to work without having to be too explicit at every callsite