Utilizing black magic to improve code