Handle anonymous types