Fixed many unchecked call warnings during compile time