[PATCH] remove ->get_blocks() support