Added module support to problems.