Add declares to contrib modules