Fix ability to specify form via class name.