Adding new helper functions.