Fixes missing constant and adds @author in docblock