Added a decorator for transform_sequence functions, as specified in #35