frp: allow dot separated class name in new.