Added support for DynamicLayouts with the Pixel classes.