Refactor maintainer/author function. Fix #12.

Redundant `self` detected.