Minor updates to the Python user_layer module.