Prepare code for use with massah