Expand functions in brackets too.