Remove weight from function signature.
Update the metadata.
Add javadoc.