Convert several functions to sTriples for cleaner reading