Refactor maintainer/author function. Fix #12.