Fix for problem enable blocks

Follow up to issue #38 and PR #47
Is there any reason we can't just call .to_s on everything and remove the case statement?