Improved pattr behavior.