Tried to make it more GC friendly. FML.