Added guards to blockio.h