Fix typo in Registry javadoc