Updated note about dev method.
Changed dev method to accept an optional boolean argument and added corresponding tests.