Made fromSession() public