Use "." instead of "::" for refering a method