Add functionality to password module

Same as above comment.