Added printing handlers for shape and boundary