Added BPB read/write/clear functions.