Split AutoSession classes, add invalid method call detection