Cleaned up hipchat code