Add getPrefix() method