Yep, setting that property works fine and is definitely easier than constructing the class.