Removed helper functions.