Updated the Mercury API classes.