Adding conservative handling for the case when we cannot statically determine what layout a given class is associated with