Removed unused import and variable in messages.base