Add multiple base support. Closes GH-34.