I don't think this xblock-specific code belongs in baseview. All of our views extends baseview, but they are not all rendering xblocks.