Cleaned up some code in flowdock_api