Removing useless methods. Closes issue #40.