Support for customising share options and delete function.