Add dynamic loading of read/write functions