Removed subs/unused subs, added split/join.