Reimplement :: method call check based on tokens