Added functunaltiy to extention methods.