Clean up return from form Python init function