Moved most of remaining content into dynamic module.