One of the interesting thing that i learned today is, namespace aliasing can break extension methods declared in the name space.
To safeguard against this situation add the same namespace again without alias. For example

using alias=X.Y.Z;

should be changed to

using alias=X.Y.Z;
using X.Y.Z

and everything works,

Happy Coding,