Refs #8292 Make the use of ties optional.

Replace python side function building.