removed redundant dimension parameter from Composite constructors