Duplicated functions. Fixes #16