Module, object and constructor declarations replaced with unit