Added AsReadOnly and AsStateless extension methods