Cleaning up: removed useless imports, reverted "set" method to use the read method under the hood.