[FLAPI-156] Allow return types to be declared by String, which means
that a compile-time dependency on the class is not required.