This makes sure that we get the name and params from exported functions/classes/vars. For export default the name is inferred from the file name. Towards #424