Add trigger functionality.

- Trigger list() method.
- Programatic access.
- Take print method out of the function.