Extract a function to map from sys to dev.