Class functions done.