Cleaned up the extending blade function.