make constant classes final