Add code to read block objects