Resolving warnings