Resolving all warnings