Populate custom definitions before executing code for `--list`