Implemented automatic MAC formatting.