Revert "Fixed typo in get_messages"

This reverts commit 15596299c720687cc46e743a1e333f4e12bce685.
Revert "Fixed stupid bug."

This reverts commit 850c263788d321dc2bf9caa297ff8e3c3870fc9d.
Revert "Fixed message fields"

This reverts commit f2d89afaa82f2950fb5f68172a9ae6f8fd1059f0.