Add shareMode class