Remove temp workaround for moduleType. rest 1.0.3 has been released