Cleans up credential methods.