Added def. Fixed copy/paste error in type