Added "main" type payload. Fixes #23