remove unused $site class functions