Refactored fingerprint methods.