Simplify the use of generic RemoteLibraryLayer