Make LayoutPseudoNode generic over type T (bounded by Reflectable) and take ~T instead of AbstractNode. We can make this constructor do the necessary transmute to AbstractNode.