Fixed #22. Empty blocks now return Nil.