Add support of graphics module.