Module: Implemented upgrade functions.