Added primitive directives for rectangles and cuboids