Support fsadapter as either a function or as the verbatim def object.