Resolving warnings in view library.