Fixed compile errors and warnings in the Physicist namespace.