Could you rewrite this to not use #prepend without a monkey patch?