Refactoring of driver and metadata interfaces