replace init() with defaults on attribute definitions