Added read() and read_by_name() api methods