add const class attributes