Move class names and selectors into instance vars.