Adding possibility of using static methods in tasks