fixed some minor aligning
created .As<shared_ptr<T>>