Customregistration and messaging PEP8 fixes.