Fix typo and use entry point defined, rather than module.