Added main field (fixes #94)