Added type signatures to eliminate reflection. Bumped to version 0.2.7.