Modified according to https://github.com/cakephp/docs/pull/829#discussion-diff-7081295 and https://github.com/cakephp/docs/pull/829#discussion-diff-7081298