Use active record relation to improve readability.