Add name methods

Fix #4