Revert "Merge pull request #1 from assertis/rest"

This reverts commit 24ac371d4e8f2620fa716cb7d0602e90c0598b1f, reversing
changes made to 021f3562d9de95aa57878ffffdec28fd9a0b21ae.