Avoid type incompatibility warnings