Internal functions not intended to be called directly by users.