Made currentPin accessible.