Add normalize and dir method --kazu