Convert some code to blade.

Signed-off-by: crynobone <crynobone@gmail.com>