Bump version to 0.4.0dev
use if instead of unless
no need to declare a variable
removed whitespace