Changed class to defined type for ease of use.