Cleaned up relay.