Setting additional shape elements with user defined behaviour