Fixed render function signature.