remove unused Action#matches(Functional) method; add some javadoc