Fix attribute hook indentation

Closes #157.