Changed the way mesh attributes work