Remove warnings on custom stuff