Added some helper functions for sentence clean-up