More refinements

Signed-off-by: Philippe Ombredanne <pom@nexb.com>