Switched to importing methods via websockets