This is needed for projection-based finite elements. The code in this patch has not been tested yet. [[Imported from SVN: r9887]]