added module options, magic types