Tidied refs