Made a new public marshaller method called valueForAttribute: