Declare types of modules/classes in version