Cleaning compiler warnings

https://www.pivotaltracker.com/story/show/62397246