Added teleportation functionality.