Addition of some helper functions for future use