Handle module definitions separately