Fixes component main module definition.