Changed implementation of _direction attribute back to simply int*.