Moving out unused method and improving consistency of utils.extension

You're right this isn't needed. It was commented out, but I will delete the comment.