adds ability to declare defaults in class declaration