Remove declarative module to reduce executable's size and also improve cross-platfrom compatibility